<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>上传头像</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
 
 <script src="plug-in/jquery-plugs/form/jquery.form.js"></script>
  <script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
   <script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"> </script> 
   <script type="text/javascript" charset="utf-8" src="plug-in/ueditor/lang/zh-cn/zh-cn.js"></script>
   <script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
   <script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
   <script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
   <link rel="stylesheet" href="plug-in/Validform/css/style.css" type="text/css">
   <link rel="stylesheet" href="plug-in/Validform/css/tablefrom.css" type="text/css">
 </head>
 
 <body>

<script>
	$("#birthday").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
</script>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" 
  			layout="table" action="userCenterController.do?saveEditedUserInfo" tiptype="3">
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
			<tr>
					<td align="right">
						<label class="Validform_label">
							姓名:
						</label>
					</td> 
					<td class="value" colspan="3"> 
						<input id="name" name="name" type="text"
					     	 style="width: 150px" class="inputxt"  datatype="*" maxlength="80" value='${user.name }'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">姓名</label>							
		           	</td> 
		  	</tr>
			<tr>
					<td align="right">
						<label class="Validform_label">
							联系方式:
						</label>
					</td> 
					<td class="value" colspan="3"> 
						<input id="phone" name="phone" type="text"
					     	 style="width: 150px" class="inputxt"  datatype="m" maxlength="80" value='${user.phone }'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">联系方式</label>							
		           	</td> 
		  	</tr>
			<tr>
					<td align="right">
						<label class="Validform_label">
							性别:
						</label>
					</td> 
					<td class="value" colspan="3"> 
						<t:dictSelect field="sex" type="radio"
									typeGroupCode="sex" defaultVal="${user.sex}" hasLabel="false"  title="性别"></t:dictSelect>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">姓名</label>							
		           	</td> 
		  	</tr>
			<tr>
					<td align="right">
						<label class="Validform_label">
							出生年月:
						</label>
					</td> 
					<td class="value" colspan="3"> 
						<input id="birthday" name="birthday" type="text" style="width: 150px" class="inputxt" onClick="WdatePicker()" value='<fmt:formatDate value="${user.birth }" pattern="yyyy-MM-dd"/>'>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">姓名</label>							
		           	</td> 
		  	</tr>
		</table>
		</t:formvalid>
 </body>  